﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FactoryMode.Animals
{
    /// <summary>
    /// 动物类
    /// </summary>
    abstract class Animal
    {
        /// <summary>
        /// 是否活着，有生命
        /// </summary>
        public bool IsLive { get; set; }

        /// <summary>
        /// 新陈代谢
        /// </summary>
        public void Metabolism(Oxygen oxygen, Water water)
        { }

        /// <summary>
        /// 繁殖
        /// </summary>
        public void Breed() { }

    }
}
